# coding: utf-8

from flask_sqlalchemy import SQLAlchemy
from flask_login import current_user
from config import app
db = SQLAlchemy(app)


class UserMixin(object):
    def get_id(self):
        return self.id
    
    def is_authenticated(self):
        return True
